package com.easyfile.easyfilemaster.entity.dto;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author chenpeman
 * @date 2022年05月06日 20:11
 */
@Data
public class GetChildFilesDto {
    private Long userId;
    @NotNull(message = "父文件夹索引不为空")
    @Min(value = 1000000000000000000L,message = "文件夹ID不正确")
    private Long id;
    @NotNull(message = "数据页索引不为空")
    private Integer page;
    @NotNull(message = "数据页大小不为空")
    private Integer size;
}
